﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace SeniorEvent
{
    public delegate void SendContent(string content);
    public partial class FrmChild : Form
    {
        public FrmChild(int a)
        {
            InitializeComponent();
            button1.Text = "第" + a + "个";
        }

        public SendContent sendContent { get; set; }

        private void button1_Click(object sender, EventArgs e)
        {
            sendContent(textBox1.Text);
        }
    }
}
